﻿using Fortunate.Application.Entities;
using Fortunate.IService.BASE;

namespace Fortunate.IService
{
    public interface IExeclService: IBaseServices<ImportExcel>
    {

        /// <summary>
        /// 导入至数据库存储
        /// </summary>
        /// <param name="excels"></param>
        /// <returns></returns>
        Task<bool> ImportExcelAsync(List<ImportExcel> excels);

        /// <summary>
        /// 导出Execl
        /// </summary>
        /// <returns></returns>
        Task<List<ImportExcel>> ExportExeclAsync();


    }
}
